package com.sn.author.domain.dto;

import com.sn.author.converter.OutputConverter;
import com.sn.author.domain.entity.ImportVideo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author xiaom
 * @Date 2020/9/21 12:46
 * @Version 1.0.0
 * @Description <>
 **/
@Data
@ApiModel("视频列表响应参数")
public class VideoDTO implements OutputConverter<VideoDTO, ImportVideo> {

    @ApiModelProperty("序号")
    private Long id;

    /**
     * 视频链接
     */
    @ApiModelProperty("视频链接")
    private String videoUrl;

    /**
     * 关注量
     */
    @ApiModelProperty("关注量")
    private Long attentionCnt;

    /**
     * 视频ID
     */
    @ApiModelProperty("视频ID")
    private String videoId;

    /**
     * 状态 -1(删除) 0(无效) 1(正常)
     */
    @ApiModelProperty("状态 -1(删除) 0(无效) 1(正常)")
    private Integer status;

    /**
     * 导入时间
     */
    @ApiModelProperty("导入时间")
    private String importTime;

    @ApiModelProperty("视频标题")
    private String title;

    @ApiModelProperty("作者昵称")
    private String authorName;

    @ApiModelProperty("视频封面图")
    private String coverImg;
    @Override
    public void customConverter(VideoDTO videoDTO, ImportVideo importVideo) {

    }
}
